package com.company.management.domain.rsp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: Administrator
 * @Date: 2025/3/6 12:28
 * @Description: robet
 */
@Data
public class UserTreeResp implements Serializable {
    @ApiModelProperty("用户id")
    private Integer id;
    @ApiModelProperty("用户名称")
    private String name;
    private boolean checked;
    private List children;

    public UserTreeResp(Integer userId, String userName,boolean checked) {
        this.id = userId;
        this.name = userName;
        this.checked = checked;
    }
}
